package com.hzy.fivepalace.db.vo.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@ApiModel(value = "用户优惠券实体对象")
public class WxUserCouponsVo implements Serializable {

    @ApiModelProperty(value = "用户id,小程序不返回")
    private Integer userId;

    @ApiModelProperty(value = "优惠券id")
    private Integer couponsId;

    @ApiModelProperty(value = "优惠券名称")
    private String couponsName;

    @ApiModelProperty(value = "状态：0未使用，1已使用,2已过期")
    private Integer status;

    @ApiModelProperty(value = "使用时间：状态为1有效")
    private LocalDateTime useTime;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "到期天数")
    private String endDays;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "最低使用金额")
    private BigDecimal minUseMoney;

    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal money;
}
